From 9a60f58e4ba7889f87561945fa474adfcdbd46a5 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jun 2023 15:30:42 +0100 Subject: Support data symbols in WASM binary format --- ...nts(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithDataSegments(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithDataSegments(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithDataSegments(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index b3753d8b..eadaac30 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithDataSegments(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithDataSegments(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -17,5 +17,9 @@ Custom: - segment info [count=2] - 0: .data p2align=2 [ ] - 1: .rodata p2align=0 [ ] + - symbol table [count=3] + - 0: D segment=0 offset=0 size=2 [ binding=global vis=default ] + - 1: D segment=0 offset=2 size=2 [ binding=global vis=default ] + - 2: D segment=1 offset=0 size=4 [ binding=global vis=default ] Code Disassembly: -- cgit v1.2.3